package interact

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaInteractSensorGyroAPIResponse 陀螺仪 API返回值
// alibaba.interact.sensor.gyro
//
// 客户端陀螺仪
type AlibabaInteractSensorGyroAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorGyroAPIResponseModel
}

// AlibabaInteractSensorGyroAPIResponseModel is 陀螺仪 成功返回结果
type AlibabaInteractSensorGyroAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_gyro_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// return=0 表示正确
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}
